import 'package:flutter/material.dart';

class NavigationWidget extends StatelessWidget {
  const NavigationWidget({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: FlatButton(onPressed: () {
        Navigator.of(context).pushNamed("login");
      }, child: Text("请先登录")),
    );
  }
}
